<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">使用状态:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="fenableList" item="vo"}
                <label for="row[fenable]-{$key}"><input id="row[fenable]-{$key}" name="row[fenable]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">数据中心/组织:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="first,second">
                <select class="first form-control" name="row[fk_bdl_bd_datacenter]" data-url="bdl/bd/datacenter/getFilter?type=get_datacenter_list_for_form_select"></select>
                <select  id="forgid" class="second form-control" name="row[forgid]" data-url="bdl/bd/datacenter/getFilter?type=get_org_list_for_form_select" data-query-name="fk_bdl_bd_datacenter"></select>
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">客户:</label>
        <div class="col-xs-12 col-sm-8 fk_bdl_bd_customer">
            <input type="text" class="form-control" disabled placeholder="请先分配数据中心和组织">
<!--            <input id="c-fk_bdl_bd_customer"  class="form-control selectpage"   data-rule="required" data-source=""  name="row[fk_bdl_bd_customer]" type="text" value="">-->
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_truename" class="form-control" name="row[fk_bdl_truename]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手机号码:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_phone" class="form-control" name="row[fk_bdl_phone]" type="text">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">注册公司名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_reqcompanyname" class="form-control" name="row[fk_bdl_reqcompanyname]" type="text">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">注册联系人:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_requsername" class="form-control" name="row[fk_bdl_requsername]" type="text">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">注册通讯地址:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_reqaddress" class="form-control" name="row[fk_bdl_reqaddress]" type="text">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">注册联系电话:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_reqphone" class="form-control" name="row[fk_bdl_reqphone]" type="text">
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">注册营业执照:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-fk_bdl_reqattachurl" class="form-control" size="50" name="row[fk_bdl_reqattachurl]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-fk_bdl_reqattachurl" class="btn btn-danger faupload" data-input-id="c-fk_bdl_reqattachurl" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-fk_bdl_reqattachurl"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-fk_bdl_reqattachurl" class="btn btn-primary fachoose" data-input-id="c-fk_bdl_reqattachurl" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-fk_bdl_reqattachurl"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-fk_bdl_reqattachurl"></ul>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">备注:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fk_bdl_comment" class="form-control" name="row[fk_bdl_comment]" type="text">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">确定</button>
            <button type="reset" class="btn btn-default btn-embossed">重置</button>
        </div>
    </div>

</form>
